package com.springboot.java0317springboot.iocdemo;

import org.springframework.stereotype.Component;

/**
 * 三星内存条
 */
//@Component
public class SumsungMemory implements Memory {
    @Override
    public void read() {
        System.out.println("三星内存在读数据");
    }

    @Override
    public void write() {
        System.out.println("三星内存在写数据");
    }
}
